package com.xinyue.design.simpleFactory;

public class Client {

	
	public static void main(String[] args) throws Exception {
		//String str = ApiFactory.createApi(2).doWork();
		String str = ApiFactory.createApi("api.admin").doWork();
		System.out.println(str);
	}
}
